package com.Wy.Demo07;

public class Student {
    private String name;
    private int age;
    private String grade;
    public Student(String name,int age,String grade){
        this.name =name;
        this.age = age;
        this.grade = grade;
    }
    public String getName() {
        return name;
    }
    public void setGrade(String grade){
        this.grade = grade;
    }
    public String toString(){
        return "Student{"+
                "name='"+ name + '\''+
                ",grade = '" + grade +'\''+
                '}';
    }
}

